<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/SystemScanner.Data" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/SystemScanner.Data" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:import schemaLocation="http://localhost:61864/ScanService.svc?xsd=xsd3" namespace="http://schemas.datacontract.org/2004/07/System.Data.Objects.DataClasses" />
  <xs:import schemaLocation="http://localhost:61864/ScanService.svc?xsd=xsd5" namespace="http://schemas.datacontract.org/2004/07/System" />
  <xs:complexType name="Computer">
    <xs:complexContent mixed="false">
      <xs:extension xmlns:q1="http://schemas.datacontract.org/2004/07/System.Data.Objects.DataClasses" base="q1:EntityObject">
        <xs:sequence>
          <xs:element minOccurs="0" name="ComputerID" type="xs:int" />
          <xs:element minOccurs="0" name="DomainName" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="Hostname" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="Scans" nillable="true" type="tns:ArrayOfScan" />
          <xs:element minOccurs="0" name="Sid" nillable="true" type="xs:string" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="Computer" nillable="true" type="tns:Computer" />
  <xs:complexType name="ArrayOfScan">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="Scan" nillable="true" type="tns:Scan" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfScan" nillable="true" type="tns:ArrayOfScan" />
  <xs:complexType name="Scan">
    <xs:complexContent mixed="false">
      <xs:extension xmlns:q2="http://schemas.datacontract.org/2004/07/System.Data.Objects.DataClasses" base="q2:EntityObject">
        <xs:sequence>
          <xs:element minOccurs="0" name="Computer" nillable="true" type="tns:Computer" />
          <xs:element minOccurs="0" name="ComputerReference" nillable="true" type="q2:EntityReferenceOfComputer5CAlJirz" />
          <xs:element minOccurs="0" name="Hotfixes" nillable="true" type="tns:ArrayOfHotfix" />
          <xs:element minOccurs="0" name="OperatingSystemComponents" nillable="true" type="tns:ArrayOfOperatingSystemComponent" />
          <xs:element xmlns:q3="http://schemas.datacontract.org/2004/07/System" minOccurs="0" name="Performed" type="q3:DateTimeOffset" />
          <xs:element minOccurs="0" name="ScanID" type="xs:int" />
          <xs:element minOccurs="0" name="ScanServices" nillable="true" type="tns:ArrayOfScanService" />
          <xs:element minOccurs="0" name="ScannerVersion" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="SoftwareApplications" nillable="true" type="tns:ArrayOfSoftwareApplication" />
          <xs:element minOccurs="0" name="SystemChangeLogs" nillable="true" type="tns:ArrayOfSystemChangeLog" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="Scan" nillable="true" type="tns:Scan" />
  <xs:complexType name="ArrayOfHotfix">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="Hotfix" nillable="true" type="tns:Hotfix" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfHotfix" nillable="true" type="tns:ArrayOfHotfix" />
  <xs:complexType name="Hotfix">
    <xs:complexContent mixed="false">
      <xs:extension xmlns:q4="http://schemas.datacontract.org/2004/07/System.Data.Objects.DataClasses" base="q4:EntityObject">
        <xs:sequence>
          <xs:element minOccurs="0" name="Description" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="HotfixID" type="xs:int" />
          <xs:element minOccurs="0" name="Identifier" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="InformationalUrl" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="Scans" nillable="true" type="tns:ArrayOfScan" />
          <xs:element minOccurs="0" name="Synopsis" nillable="true" type="xs:string" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="Hotfix" nillable="true" type="tns:Hotfix" />
  <xs:complexType name="ArrayOfOperatingSystemComponent">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="OperatingSystemComponent" nillable="true" type="tns:OperatingSystemComponent" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfOperatingSystemComponent" nillable="true" type="tns:ArrayOfOperatingSystemComponent" />
  <xs:complexType name="OperatingSystemComponent">
    <xs:complexContent mixed="false">
      <xs:extension xmlns:q5="http://schemas.datacontract.org/2004/07/System.Data.Objects.DataClasses" base="q5:EntityObject">
        <xs:sequence>
          <xs:element minOccurs="0" name="Identifier" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="Name" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="OperatingSystemComponentID" type="xs:int" />
          <xs:element minOccurs="0" name="Scans" nillable="true" type="tns:ArrayOfScan" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="OperatingSystemComponent" nillable="true" type="tns:OperatingSystemComponent" />
  <xs:complexType name="ArrayOfScanService">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="ScanService" nillable="true" type="tns:ScanService" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfScanService" nillable="true" type="tns:ArrayOfScanService" />
  <xs:complexType name="ScanService">
    <xs:complexContent mixed="false">
      <xs:extension xmlns:q6="http://schemas.datacontract.org/2004/07/System.Data.Objects.DataClasses" base="q6:EntityObject">
        <xs:sequence>
          <xs:element minOccurs="0" name="LogonName" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="Scan" nillable="true" type="tns:Scan" />
          <xs:element minOccurs="0" name="ScanID" type="xs:int" />
          <xs:element minOccurs="0" name="ScanReference" nillable="true" type="q6:EntityReferenceOfScan5CAlJirz" />
          <xs:element minOccurs="0" name="Service" nillable="true" type="tns:Service" />
          <xs:element minOccurs="0" name="ServiceID" type="xs:int" />
          <xs:element minOccurs="0" name="ServiceReference" nillable="true" type="q6:EntityReferenceOfService5CAlJirz" />
          <xs:element minOccurs="0" name="StartMode" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="State" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="Status" nillable="true" type="xs:string" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="ScanService" nillable="true" type="tns:ScanService" />
  <xs:complexType name="Service">
    <xs:complexContent mixed="false">
      <xs:extension xmlns:q7="http://schemas.datacontract.org/2004/07/System.Data.Objects.DataClasses" base="q7:EntityObject">
        <xs:sequence>
          <xs:element minOccurs="0" name="Identifier" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="Name" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="ScanServices" nillable="true" type="tns:ArrayOfScanService" />
          <xs:element minOccurs="0" name="ServiceID" type="xs:int" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="Service" nillable="true" type="tns:Service" />
  <xs:complexType name="ArrayOfSoftwareApplication">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="SoftwareApplication" nillable="true" type="tns:SoftwareApplication" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfSoftwareApplication" nillable="true" type="tns:ArrayOfSoftwareApplication" />
  <xs:complexType name="SoftwareApplication">
    <xs:complexContent mixed="false">
      <xs:extension xmlns:q8="http://schemas.datacontract.org/2004/07/System.Data.Objects.DataClasses" base="q8:EntityObject">
        <xs:sequence>
          <xs:element minOccurs="0" name="Identifier" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="Name" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="Scans" nillable="true" type="tns:ArrayOfScan" />
          <xs:element minOccurs="0" name="SoftwareApplicationID" type="xs:int" />
          <xs:element minOccurs="0" name="Vendor" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="Version" nillable="true" type="xs:string" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="SoftwareApplication" nillable="true" type="tns:SoftwareApplication" />
  <xs:complexType name="ArrayOfSystemChangeLog">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="SystemChangeLog" nillable="true" type="tns:SystemChangeLog" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfSystemChangeLog" nillable="true" type="tns:ArrayOfSystemChangeLog" />
  <xs:complexType name="SystemChangeLog">
    <xs:complexContent mixed="false">
      <xs:extension xmlns:q9="http://schemas.datacontract.org/2004/07/System.Data.Objects.DataClasses" base="q9:EntityObject">
        <xs:sequence>
          <xs:element minOccurs="0" name="ChangedObjectID" type="xs:int" />
          <xs:element minOccurs="0" name="Scan" nillable="true" type="tns:Scan" />
          <xs:element minOccurs="0" name="ScanReference" nillable="true" type="q9:EntityReferenceOfScan5CAlJirz" />
          <xs:element minOccurs="0" name="SystemChangeLogID" type="xs:int" />
          <xs:element minOccurs="0" name="SystemChangeType" nillable="true" type="tns:SystemChangeType" />
          <xs:element minOccurs="0" name="SystemChangeTypeReference" nillable="true" type="q9:EntityReferenceOfSystemChangeType5CAlJirz" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="SystemChangeLog" nillable="true" type="tns:SystemChangeLog" />
  <xs:complexType name="SystemChangeType">
    <xs:complexContent mixed="false">
      <xs:extension xmlns:q10="http://schemas.datacontract.org/2004/07/System.Data.Objects.DataClasses" base="q10:EntityObject">
        <xs:sequence>
          <xs:element minOccurs="0" name="Description" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="SystemChangeLogs" nillable="true" type="tns:ArrayOfSystemChangeLog" />
          <xs:element minOccurs="0" name="SystemChangeTypeID" type="xs:int" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="SystemChangeType" nillable="true" type="tns:SystemChangeType" />
</xs:schema>